package com.fable.dal.mapper;

import com.fable.dal.model.WorkDailyDO;
import com.fable.dal.model.WorkDailyQuery;

import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
 * MyBatis Mapper for WorkDaily.
 */
public interface WorkDailyMapper {
    /**
     * query count by query condition.
     */
    int countByquery(WorkDailyQuery query);

    /**
     * delete by query condition.
     */
    int deleteByquery(WorkDailyQuery query);

    /**
     * delete by primary key.
     */
    int deleteByPrimaryKey(WorkDailyDO record);

    /**
     * insert selective.
     */
    int insertSelective(WorkDailyDO record);

    /**
     * select by query condition.
     */
    List<WorkDailyDO> selectByquery(WorkDailyQuery query);

    /**
     * select by primary key.
     */
    WorkDailyDO selectByPrimaryKey(Long id);

    /**
     * update by query condition selective.
     */
    int updateByquerySelective(@Param("record") WorkDailyDO record, @Param("query") WorkDailyQuery query);

    /**
     * update by query condition.
     */
    int updateByquery(@Param("record") WorkDailyDO record, @Param("query") WorkDailyQuery query);

    /**
     * update by primary key selective.
     */
    int updateByPrimaryKeySelective(WorkDailyDO record);
}